
#ifndef _MEMBER_BSIXDOFCONSTRAINT_H_
#define _MEMBER_BSIXDOFCONSTRAINT_H_

#include <BNode>
#include <BSixdofConstraint>

namespace BWE
{
	class member_BSixdofConstraint
	{
	public:
		member_BSixdofConstraint(BSixdofConstraint* constraint);
		~member_BSixdofConstraint();
		
		BSixdofConstraint*	boss;
		BVector				linearUpperLimit;
		BVector				linearLowerLimit;
		BVector				angularUpperLimit;
		BVector				angularLowerLimit;

		BReal				softnessDirLin;
		BReal				restitutionDirLin;
		BReal				dampingDirLin;
		BReal				cfmDirLin;

		BReal				softnessDirAng;
		BReal				restitutionDirAng;
		BReal				dampingDirAng;
		BReal				cfmDirAng;

		BReal				softnessLimLin;
		BReal				restitutionLimLin;
		BReal				dampingLimLin;
		BReal				cfmLimLin;

		BReal				softnessLimAng;
		BReal				restitutionLimAng;
		BReal				dampingLimAng;
		BReal				cfmLimAng;

		BReal				softnessOrthoLin;
		BReal				restitutionOrthoLin;
		BReal				dampingOrthoLin;
		BReal				cfmOrthoLin;

		BReal				softnessOrthoAng;
		BReal				restitutionOrthoAng;
		BReal				dampingOrthoAng;
		BReal				cfmOrthoAng;

		bool				poweredLinMotor;
		BReal				targetLinMotorVelocity;
		BReal				maxLinMotorForce;
		BReal				accumulatedLinMotorImpulse;

		bool				poweredAngMotor;
		BReal				targetAngMotorVelocity;
		BReal				maxAngMotorForce;
		BReal				accumulatedAngMotorImpulse;


	};
}

#endif
